#ifndef OBSERVABLE_BOUNCE_H
#define OBSERVABLE_BOUNCE_H

#include <inttypes.h>
#include "Observer/Observable.h"
#include "Bounce.h"

class ObservableBounce : public Bounce, public Observable {
 public:
  ObservableBounce(uint8_t pin, unsigned long interval_millis ); 
  //Override update method to call notifyObservers if state has changed
  virtual int update();
};

#endif
